//
//  IPHomeItemCell.swift
//  IPlan
//
//  Created by robot on 3/20/16.
//  Copyright © 2016 codeFighter.com. All rights reserved.
//

import UIKit

class IPHomeItemCell: UICollectionViewCell {
    
    @IBOutlet weak var deleteButton: UIButton!
    @IBOutlet weak var finishButton: UIButton!
    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var contentLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        deleteButton.layer.borderColor = UIColor.red.cgColor
        deleteButton.layer.borderWidth = 1.0
        deleteButton.clipsToBounds = true
        
        finishButton.layer.borderColor = UIColor.blue.cgColor
        finishButton.layer.borderWidth = 1.0
        finishButton.clipsToBounds = true
        
    }
    open func setTitle(tile:String) -> Void {
        
        contentLabel.text = tile
    }
    
    open func setDate(date:String) -> Void {
    
        titleLabel.text = date
        
    }
    
    
}
